procedure GetDimensions(dataName : Str255; var width, height : longint);

Returns the width and height of the data.